package messangerTypes;

public class MessangerSettings
{
	private final static int uCastPort = 6789;
	private final static int numberUsers = 100;
	private final static String unicastAddress = "localhost";
	
	private final static String multicastAddress = "228.5.6.7";
	private final static int mCastPort = 11000;
	private final static boolean setLoopbackMode = false;//actual java variable is loopbackDisabled. double negative
	private final static boolean setReuseAddress = true;
	
	private final static int mySqlPort = 3306;
	private final static String sqlUserName = "djsweene";
	private final static String sqlPassword = "class";
	private static final String JDBC_DRIVER = "com.mysql.jdbc.Driver";  
	private static final String DB_URL = "jdbc:mysql://localhost/mydb";
	private static final String tablePath = "mydb.userdb";
	
	public static int getMysqlport()
	{
		return mySqlPort;
	}
	public static int getNumberusers()
	{
		return numberUsers;
	}
	public static int getMcastport()
	{
		return mCastPort;
	}
	public static int getUcastport()
	{
		return uCastPort;
	}
	public static String getUnicastaddress()
	{
		return unicastAddress;
	}	
	
	public static String getMulticastaddress()
	{
		return multicastAddress;
	}
	public static String getUnicaastaddress()
	{
		return unicastAddress;
	}
	public static boolean isSetloopbackmode()
	{
		return setLoopbackMode;
	}
	public static boolean isSetreuseaddress()
	{
		return setReuseAddress;
	}
	public static String getSqlusername()
	{
		return sqlUserName;
	}
	public static String getSqlpassword()
	{
		return sqlPassword;
	}
	public static String getJdbcDriver()
	{
		return JDBC_DRIVER;
	}
	public static String getDbUrl()
	{
		return DB_URL;
	}
	public static String getTablepath()
	{
		return tablePath;
	}
}
